package com.thinkingstar.iads.projectcenter.to;

import com.thinkingstar.iads.common.entity.AbstractEntites;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.nutz.dao.entity.annotation.*;

import java.io.Serializable;

/***
 * @ClassName: pc_project_constant_data
 * @Description: 项目中心_项目_常量
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Comment("项目中心_项目_常量")
@Table("pc_project_constant_data")
public class PcProjectConstantDataTO extends AbstractEntites implements Serializable{
	
	@Comment("项目ID")
	@Column
	@ColDefine(type = ColType.VARCHAR, width = 32)
	private String project_id;
	
	@Comment("数据类型（常量，代码）")
	@Column
	@ColDefine(type = ColType.VARCHAR, width = 10)
	private String standard_type;
	
	@Comment("数据项代号")
	@Column
	@ColDefine(type = ColType.VARCHAR, width = 32)
	private String code_name;
	
	@Comment("数据项中文简称")
	@Column
	@ColDefine(type = ColType.VARCHAR, width = 50)
	private String code_cname;
	
	@Comment("上级数据项代号")
	@Column
	@ColDefine(type = ColType.VARCHAR, width = 32)
	private String code_parent_name;
	
	@Comment("是否包含子集")
	@Column
	@ColDefine(type = ColType.VARCHAR, width = 255)
	private String has_children;
	
	@Comment("数据项取值")
	@Column
	@ColDefine(type = ColType.VARCHAR, width = 255)
	private String code_value;
	
	@Comment("数据项取值单位")
	@Column
	@ColDefine(type = ColType.VARCHAR, width = 50)
	private String code_value_unit;

	@Comment("数据项默认取值")
	@Column
	@ColDefine(type = ColType.VARCHAR, width = 50)
	private String code_default_value;

	@Comment("数据项创建人名称")
	@Column
	@ColDefine(type = ColType.VARCHAR, width = 50)
	private String code_create_user;

	@Comment("操作人")
	@Column
	@ColDefine(type = ColType.VARCHAR, width = 50)
	private String oprator;

	@Comment("备注")
	@Column
	@ColDefine(type = ColType.VARCHAR, width = 50)
	protected String remark;

	@Comment("版本库id")
	@Column
	@ColDefine(type=ColType.VARCHAR,width = 32)
	private String version_id;

}
